<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:AdRotator">


    <Style TargetType="local:AdRotatorControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:AdRotatorControl">
                    <Grid x:Name="AdRotatorLayoutRoot" Width="{TemplateBinding AdWidth}" Height="{TemplateBinding AdHeight}">
                        <Grid.RenderTransform>
                            <CompositeTransform/>
                        </Grid.RenderTransform>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
